import request from '@/utils/axios'


export function handleMoney(params) {
  return request({
    url: '/backend/withdrawal/handle',
    method: 'post',
    data:params
  })
}
export function list(params) {
  return request({
    url: '/backend/withdrawal/list',
    method: 'get',
    params:params
  })
}

export function adUpdate(params) {
  return request({
    url: '/backend/ad/update',
    method: 'post',
    data:params
  })
}
export function adList(params) {
  return request({
    url: '/backend/ad/list',
    method: 'get',
    params:params
  })
}

export function adDelete(params) {
  return request({
    url: '/backend/ad/delete',
    method: 'post',
    data:params
  })
}
export function adAdd(params) {
  return request({
    url: '/backend/ad/add',
    method: 'post',
    data:params
  })
}

export function helpUpdate(params) {
  return request({
    url: '/backend/help/update',
    method: 'post',
    data:params
  })
}
export function helpList(params) {
  return request({
    url: '/backend/help/list',
    method: 'get',
    params:params
  })
}

export function helpDelete(params) {
  return request({
    url: '/backend/help/delete',
    method: 'post',
    data:params
  })
}
export function helpAdd(params) {
  return request({
    url: '/backend/help/add',
    method: 'post',
    data:params
  })
}

export function updateConfig(params) {
  return request({
    url: '/backend/config/edit',
    method: 'post',
    data:params
  })
}
export function getConfig(params) {
  return request({
    url: '/backend/config/get',
    method: 'get',
    params:params
  })
}
